import yaml

obj = yaml.load(
    """
    - A
    - B
    - C
    """
)

print(obj)